/*
 * @Author: yuanming
 * @Date: 2024-06-30 08:01:12
 * @LastEditors: yuanming
 * @LastEditTime: 2024-08-22 14:02:16
 * @Description: fileDescription
 */
import router from './router'
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'

NProgress.configure({ showSpinner: false });


router.beforeEach((to, from, next) => {
  NProgress.start()
  NProgress.done()
})

router.afterEach(() => {
  NProgress.done()
})
